<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>		
		<script type="text/javascript"	src="javascript/Ajax.js"></script>
	</head>
	<body>
		<form>
			
			
		</form>
		<script>
			var ajax=new Xhr();
			//ajax.getScript({url:'javascript/Fx.js'},function(t,r){
			//new Animal();
			//});
			var aa=document.getElementById('aa');
			ajax.fillTo({url:'test.html',data:{}},aa,function(t,r){
			  alert(r);			 
			});	
			// alert(t.contentType);
			//ajax.getText({url:'test.html'},function(t,r){
			 // alert(r);
			 // alert(t.contentType);
			//});			
			//ajax.getJson({url:'login.jsp'},function(t,d){
			//  alert(d.success);
			  //alert(t.xhr.responseText);
			//});			
		</script>
	</body>
</html>